
import { type FC } from "react"
import { Typography, Input } from "antd"
import type { QuestionInputPropsType } from "@/utils/type"
import { defaultInputProps } from "@/utils/default"

const { Paragraph } = Typography




const QuestionInput: FC<QuestionInputPropsType> = (props: QuestionInputPropsType) => {

  const { title, placeholder } = { ...defaultInputProps, ...props }
  return (
    <div >
      <Paragraph strong>{title}</Paragraph>
      <div>
        <Input  placeholder={placeholder}></Input>
      </div>
    </div>
  )
}





export default QuestionInput;